<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>

<body>

    <div id="root">
        <h2>名称:{{name}}</h2>
        <h2>地址:{{address}}</h2>

    </div>

    <script type="text/javascript">
        const vm = new Vue({
            el: "#root",
            data: {
                name: "lyuetw",
                address: "广东珠海"
            }
        })

    </script>

</body>

</html>